Skip to content

feat: add partitioned option#21

Merged
pi0 merged 6 commits into
unjs:mainfrom
AlexXanderGrib:main
Mar 29, 2024
Merged

feat: add partitioned option#21
pi0 merged 6 commits into
unjs:mainfrom
AlexXanderGrib:main

Conversation

@AlexXanderGrib

Copy link
Copy Markdown
Contributor

Spec: https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies

  • Added partitioned option to cookie serialization.
  • Added tests and run lint:fix

@fmoessle

Copy link
Copy Markdown

Would love to see this one merged and used in h3 and nitro. Google is starting to phase out third-party cookies for everyone in the second half of 2024 link. Partitioned cookies is one of the suggested methods by google for dealing with this.

@AlexXanderGrib

Copy link
Copy Markdown
Contributor Author

jshttp/cookie#153 already added partitioned support into upstream. Can this be merged?

@adarshmadrecha

Copy link
Copy Markdown

Looking forward to release with this feature.

@pi0 pi0 changed the title Partitioned cookies feat: add partitioned option Mar 29, 2024
@pi0

pi0 commented Mar 29, 2024

Copy link
Copy Markdown
Member

Thanks.

@pi0 pi0 merged commit 1de517e into unjs:main Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants